﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CE9 RID: 3305
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PJJHDBEBACA : IMessage<PJJHDBEBACA>, IMessage, IEquatable<PJJHDBEBACA>, IDeepCloneable<PJJHDBEBACA>, IBufferMessage
	{
		// Token: 0x1700299F RID: 10655
		// (get) Token: 0x060093B4 RID: 37812 RVA: 0x00188689 File Offset: 0x00186889
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PJJHDBEBACA> Parser
		{
			get
			{
				return PJJHDBEBACA._parser;
			}
		}

		// Token: 0x170029A0 RID: 10656
		// (get) Token: 0x060093B5 RID: 37813 RVA: 0x00188690 File Offset: 0x00186890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PJJHDBEBACAReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170029A1 RID: 10657
		// (get) Token: 0x060093B6 RID: 37814 RVA: 0x001886A2 File Offset: 0x001868A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PJJHDBEBACA.Descriptor;
			}
		}

		// Token: 0x060093B7 RID: 37815 RVA: 0x001886A9 File Offset: 0x001868A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PJJHDBEBACA()
		{
		}

		// Token: 0x060093B8 RID: 37816 RVA: 0x001886B1 File Offset: 0x001868B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PJJHDBEBACA(PJJHDBEBACA other) : this()
		{
			this.type_ = other.type_;
			this.lNAAKKMBCCH_ = other.lNAAKKMBCCH_;
			this.displayValue_ = other.displayValue_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060093B9 RID: 37817 RVA: 0x001886EE File Offset: 0x001868EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PJJHDBEBACA Clone()
		{
			return new PJJHDBEBACA(this);
		}

		// Token: 0x170029A2 RID: 10658
		// (get) Token: 0x060093BA RID: 37818 RVA: 0x001886F6 File Offset: 0x001868F6
		// (set) Token: 0x060093BB RID: 37819 RVA: 0x001886FE File Offset: 0x001868FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LKJAEMOHLML Type
		{
			get
			{
				return this.type_;
			}
			set
			{
				this.type_ = value;
			}
		}

		// Token: 0x170029A3 RID: 10659
		// (get) Token: 0x060093BC RID: 37820 RVA: 0x00188707 File Offset: 0x00186907
		// (set) Token: 0x060093BD RID: 37821 RVA: 0x0018870F File Offset: 0x0018690F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LNAAKKMBCCH
		{
			get
			{
				return this.lNAAKKMBCCH_;
			}
			set
			{
				this.lNAAKKMBCCH_ = value;
			}
		}

		// Token: 0x170029A4 RID: 10660
		// (get) Token: 0x060093BE RID: 37822 RVA: 0x00188718 File Offset: 0x00186918
		// (set) Token: 0x060093BF RID: 37823 RVA: 0x00188720 File Offset: 0x00186920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DisplayValue
		{
			get
			{
				return this.displayValue_;
			}
			set
			{
				this.displayValue_ = value;
			}
		}

		// Token: 0x060093C0 RID: 37824 RVA: 0x00188729 File Offset: 0x00186929
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PJJHDBEBACA);
		}

		// Token: 0x060093C1 RID: 37825 RVA: 0x00188738 File Offset: 0x00186938
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PJJHDBEBACA other)
		{
			return other != null && (other == this || (this.Type == other.Type && this.LNAAKKMBCCH == other.LNAAKKMBCCH && this.DisplayValue == other.DisplayValue && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060093C2 RID: 37826 RVA: 0x00188794 File Offset: 0x00186994
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Type != LKJAEMOHLML.BattleStaticticEventNone)
			{
				num ^= this.Type.GetHashCode();
			}
			if (this.LNAAKKMBCCH != 0U)
			{
				num ^= this.LNAAKKMBCCH.GetHashCode();
			}
			if (this.DisplayValue != 0U)
			{
				num ^= this.DisplayValue.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060093C3 RID: 37827 RVA: 0x0018880B File Offset: 0x00186A0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060093C4 RID: 37828 RVA: 0x00188813 File Offset: 0x00186A13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060093C5 RID: 37829 RVA: 0x0018881C File Offset: 0x00186A1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Type != LKJAEMOHLML.BattleStaticticEventNone)
			{
				output.WriteRawTag(8);
				output.WriteEnum((int)this.Type);
			}
			if (this.LNAAKKMBCCH != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.LNAAKKMBCCH);
			}
			if (this.DisplayValue != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.DisplayValue);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060093C6 RID: 37830 RVA: 0x00188890 File Offset: 0x00186A90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Type != LKJAEMOHLML.BattleStaticticEventNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Type);
			}
			if (this.LNAAKKMBCCH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LNAAKKMBCCH);
			}
			if (this.DisplayValue != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DisplayValue);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060093C7 RID: 37831 RVA: 0x00188900 File Offset: 0x00186B00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PJJHDBEBACA other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Type != LKJAEMOHLML.BattleStaticticEventNone)
			{
				this.Type = other.Type;
			}
			if (other.LNAAKKMBCCH != 0U)
			{
				this.LNAAKKMBCCH = other.LNAAKKMBCCH;
			}
			if (other.DisplayValue != 0U)
			{
				this.DisplayValue = other.DisplayValue;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060093C8 RID: 37832 RVA: 0x00188964 File Offset: 0x00186B64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060093C9 RID: 37833 RVA: 0x00188970 File Offset: 0x00186B70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 16U)
					{
						if (num != 24U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.DisplayValue = input.ReadUInt32();
						}
					}
					else
					{
						this.LNAAKKMBCCH = input.ReadUInt32();
					}
				}
				else
				{
					this.Type = (LKJAEMOHLML)input.ReadEnum();
				}
			}
		}

		// Token: 0x0400385B RID: 14427
		private static readonly MessageParser<PJJHDBEBACA> _parser = new MessageParser<PJJHDBEBACA>(() => new PJJHDBEBACA());

		// Token: 0x0400385C RID: 14428
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400385D RID: 14429
		public const int TypeFieldNumber = 1;

		// Token: 0x0400385E RID: 14430
		private LKJAEMOHLML type_;

		// Token: 0x0400385F RID: 14431
		public const int LNAAKKMBCCHFieldNumber = 2;

		// Token: 0x04003860 RID: 14432
		private uint lNAAKKMBCCH_;

		// Token: 0x04003861 RID: 14433
		public const int DisplayValueFieldNumber = 3;

		// Token: 0x04003862 RID: 14434
		private uint displayValue_;
	}
}
